package com.ljw.spring;

import java.lang.annotation.*;

/**
 * @author 一朝风月
 * @date 2024/6/21 09:37
 * @Code 面向注解面向卿，终无解释再无你
 * @description <attribute,value>
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface AliasFor {
    @AliasFor("attribute")
    String value() default "";

    @AliasFor("value")
    String attribute() default "";

    Class<? extends Annotation> annotation() default Annotation.class;
}
